package com.kingtao.message;

/**
 * @Author: kingtao
 * @Date: 2023-08-27-15:01
 * @Description:
 */
public class ServerInitResponse extends Message {
    boolean success;
    int num;

    @Override
    public int getMessageType() {
        return 112;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public int isNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public ServerInitResponse(boolean success, int num) {
        this.success = success;
        this.num = num;
    }
}
